import { Pipe } from "@angular/core";

@Pipe({
  name: "exclude"
})
export class ExcludePipe {
  transform(groups, groupId) {
    return groups.filter((item) => item.groupId !== groupId);
  }
}